﻿<%@ page title="" language="C#" masterpagefile="~/AdminMasterPage.master" autoeventwireup="true" inherits="PL_AdminChangePassword, App_Web_1zw2ahqk" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .auto-style1
        {
            height: 247px;
            width: 461px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
     <script type="text/Javascript" language ="javascript" >
         function confirm_meth() {
             if (confirm("Are you sure that you want to chnage password?") == true) {
                 location.href = '~/PL/AdminLogin.aspx';
             }
             else {
                 location.href = '~/PL/AdminChangePassword.aspx';
             }
         }
</script>
          <table class="auto-style1">
            <tr>
                <td colspan="2">
                    <asp:Label ID="ChangePasswordLbl" runat="server" Font-Bold="True" Font-Italic="True" Font-Size="X-Large" Text="Change Password" ForeColor="#0000CC"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    &nbsp;</td>
            </tr>
            <tr>
                <td align="left" class="auto-style5">
                    <asp:Label ID="OldPasswordLbl" runat="server" Text="Old Password" Font-Bold="True" ForeColor="#CC0066"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="OldPasswordTxtBx" runat="server" OnTextChanged="OldPasswordTxtBx_TextChanged" TextMode="Password"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="left" class="auto-style5">
                    <asp:Label ID="NewPasswordLbl" runat="server" Text="New Password" Font-Bold="True" ForeColor="#CC0066"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="NewPasswordTxtBx" runat="server" OnTextChanged="NewPasswordTxtBx_TextChanged"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="left" class="auto-style5">
                    <asp:Label ID="ConfirmPasswordLbl" runat="server" Text="Conform Password" Font-Bold="True" ForeColor="#CC0066"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="ConformPasswordTxtBx" runat="server" OnTextChanged="NewPasswordTxtBx_TextChanged" TextMode="Password"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="center" class="auto-style5">
                    <asp:Button ID="ChangePasswordBtn" runat="server" OnClick="ChangePasswordBtn_Click" OnClientClick =" return confirm_meth()" Text="Change Password" />
                </td>
                <td align="center">
                    <asp:Button ID="CancelBtn" runat="server" Text="Cancel" OnClick="CancelBtn_Click" />
                </td>
            </tr>
            <tr>
                <td align="center" class="auto-style5" colspan="2">
                     <script type="text/javascript">

                         function HideLabel() {
                             document.getElementById('<%= DsplyLbl.ClientID %>').style.display = "none";

                         }
                         setTimeout("HideLabel();", 3000);
                </script>
                    <asp:Label ID="DsplyLbl" runat="server" Font-Bold="True" Font-Size="Larger" ForeColor="Red"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="left" class="auto-style5">
                    &nbsp;</td>
                <td>&nbsp;</td>
            </tr>
        </table>

</asp:Content>

